When calling BarcodeReader.analyze(), a BarcodeException can be thrown with an error code describing the problem. Listed below is a cross reference of error codes and their corresponding descriptions.
Error Codes | Description |
9000 | There is not enough memory to continue the operation. |
9001 | Invalid parameter. |
9002 |
Parameter out of range. |
9003 |
Invalid bitmap. |
9004 |
Unable to read bitmap. |
9005 |
Unsupported barcode type. |
9006 | Invalid index. |
9007 | Invalid barcode value set. |
9008 | Insufficient barcode width. |
9009 |
Insufficient barcode height. |
9010 |
Unable to create UPC-E Barcode. |
9011 |
Invalid license. |
9012 |
Timeout Error. |
9014 |
Internal error. |
9015 |
Area is outside required range. |
9022 | The bit depth of the image is not supported by Barcode Xpress. |
9023 | The results object is NULL. |
9024 | The DIB object is not valid. |
9100 |
PDF417 encoding error. |
9101 |
Invalid row count for the barcode type. |
9102 |
Invalid column count for the barcode type. |
9103 | There is an invalid number of symbols in the barcode. |
9104 |
Barcode data too large for the barcode symbol size. |
9105 |
Error correction level is invalid. |
9106 |
Error correction level is too high, will not fit in barcode symbol with the data. |
9300 | The parameters could not be read. |
9301 | The DIB could not be read. |
9302 | The results object is not valid. |
9303 | Could not create the results object. |
9304 | A valid license could not be located on the machine. |
9305 | There is an error encoding the barcode value. |